package pub.tbc.mybatis.webconfig;

import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.boot.web.support.SpringBootServletInitializer;
import pub.tbc.mybatis.SBApplication;

/**
 * Created by leishuzhou on 2016/11/16.
 */
@Slf4j
public class WebConfig extends SpringBootServletInitializer {
    @Override
    protected SpringApplicationBuilder configure(SpringApplicationBuilder application) {
        log.info("WebInitializer ... 哈哈哈");
        return application.sources(SBApplication.class);
    }
}


